package JavaSE.CODE.javase;

import java.util.Scanner;

public class chooseStruct {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

//        String s = scan.nextLine();
//
//        //不要用==来判断字符串
//        //
//        if(s.equals("hello")){
//            System.out.println(s);
//        }
//        System.out.println("end");

        char grade = 'C';
        String str = "党";
        String str1 = "子";
        String str3 = "党子";
        switch(str3){
            case "党":
                break;
            case "子":
                break;
        }



        switch (grade){
            case 'A':
                System.out.println("execellent");
                break;
            case 'B':
                System.out.println("good");
                break;
            case 'C':
                System.out.println("normal");
            case 'D':
                System.out.println("bad");
            default:
                System.out.println("quit");
            //不写break 就会造成穿透
        }

        scan.close();

    }


}
